﻿@using MvcApplication1.Models;

@model HomeModel

@using (Html.BeginForm("Index", "Home", FormMethod.Post, new { @id = "form" }))
{
    @Html.TextBoxFor(model => model.a)
    @Html.TextBoxFor(model => model.b)

    <div style="display:block">
        @Html.TextBoxFor(model => model.Result_HelloWorld)
        @Html.TextBoxFor(model => model.Result_Add)
        @Html.TextBoxFor(model => model.Result_Subtract)
        @Html.TextBoxFor(model => model.Result_Multiply)
        @Html.TextBoxFor(model => model.Result_Divide)
    </div>
    
    <div style="display:block">
        @Html.TextBoxFor(model => model.Result_WcfService)
    </div>
    
    <button type="submit">submit</button>
}
